package cc.aiee.bambora.northamerica.model;

import cc.aiee.core.interfaces.PayJsonBeanInterface;
import cc.aiee.core.kit.KitJson;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class BamboraCardPurchaseModel implements PayJsonBeanInterface {

	private Integer amount;

	private String orderNo;

	private String cardNo;
	private String cardExpiryMonth;
	private String cardExpiryYear;
	private String cardCvd;
	/**
	 * owner name ,开卡人姓名
	 */
	private String cardOwnerName;

	@Override
	public String toJson() {
		return KitJson.toJSONString(this);
	}

	@Override
	public String toJson(boolean prettyFormat, boolean ignoreNull) {
		return KitJson.toJSONString(this, prettyFormat, ignoreNull);
	}

}
